package com.itheima;

public abstract class Season {
    public static final Season SPRING=new Season() {
        @Override
        public void show() {

        }
    };
    public static final Season SUMMER=new Season("夏") {
        @Override
        public void show() {

        }
    };
    public static final Season AUTUMN=new Season() {
        @Override
        public void show() {

        }
    };
    public static final Season WINTER=new Season() {
        @Override
        public void show() {

        }
    };

    private String name;

    public Season(){

    }

    public Season(String name) {
        this.name = name;
    }

    public void sing(){
        System.out.println("来一首只因你太美");
    }

    public abstract  void show();

}
